using NHibernate.Validator.Cfg.Loquacious;

namespace DMS.BEs.Validations.NHV
{
    public class CustomerDef : ValidationDef<Customer>
    {
        public CustomerDef()
        {
            Define(x => x.FirstName).LengthBetween(3, 20);
            Define(x => x.LastName).LengthBetween(3, 60);
        }
    }
}